﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Entity
{
    public class Author
    {
        /// <summary>
        /// 
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string login { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string avatar_url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string html_url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string remark { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string followers_url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string following_url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string gists_url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string starred_url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string subscriptions_url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string organizations_url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string repos_url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string events_url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string received_events_url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string type { get; set; }
    }

    public class AssetsItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string browser_download_url { get; set; }
        /// <summary>
        /// 测试.rar
        /// </summary>
        public string name { get; set; }
    }

    public class UpReleasesEntity
    {
        /// <summary>
        /// 
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string tag_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string target_commitish { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string prerelease { get; set; }
        /// <summary>
        /// 测试
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 测试
        /// </summary>
        public string body { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Author author { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string created_at { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<AssetsItem> assets { get; set; }
    }

    public class UpData
    {
        /// <summary>
        /// 最新版本号
        /// </summary>
        public string Version { get; set; }
        /// <summary>
        /// 下载地址
        /// </summary>
        public string Updownurl { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 下载文件名称
        /// </summary>
        public string downName { get; set; }

    }
}
